#include <string.h>
void zip( char *p )
{
	int m=0,j=0,count=1;
	int len=strlen(p);
	for(m=0;m<len;m++)
	{
		if(p[m]==p[m+1])count++;
		else
		{
			if(count==1)
			{
				p[j++]=p[m];
			}
			else
			{
				if(count>=2&&count<=9)
				{
					p[j++]=count+48;
					p[j++]=p[m];
					count=1;
				}
				else
				{
					p[j++]=count/10+48;
					p[j++]=count%10+48;
					p[j++]=p[m];
					count=1;
				}
			}
		}
	}
	p[j]='\0';
}